<?php
class Admin_Model_DbTable_User extends Zend_Db_Table_Abstract
{
    /**
     * The default table name 
     */
    protected $_name = 'users';
    protected $_primary = 'id';
	
	public function filter($resource)
	{
		$cates= array();
		
		if($resource) foreach ($resource as $c) {
			$cates [$c['id']] =$c['username'];
		}
		return $cates;
	}
}
